package com.example.demo.Dao;

import com.example.demo.Entity.Count;
import com.example.demo.Entity.Delivery;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface DeliveryDao {
    List<Delivery> getDelivery();

    List<Delivery> getDeliverymohuByname(String name);

    //p_u_id员工编号
    //p_id快递单号
    //p_rnumber取件码
    //date收取时间
    //p_state快递状态
    Delivery inputDelivery(Integer p_u_id, Integer p_id, String date, String p_rnumber, Integer p_state,String p_name);

    List<Count> getCountDelivery();

    List<Delivery> getDeliveryByname(String name);
}
